package com.item.mapper;

import com.item.domain.EduMenuList;
import com.item.po.UserRoleRPo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface EduMenuListMapper extends Mapper<EduMenuList> {

    List<EduMenuList> findAll(UserRoleRPo eduMenuList);

    List<EduMenuList> eduMenuListAll();

    List<EduMenuList> eduMenuListAllRole(UserRoleRPo eduMenuList);

    List<EduMenuList> eduMenuListChildren(@Param("id") Integer id);
}